import request from '@/config/axios'

// 列表
export const getList = async (params: any) => {
  return await request.get({ url: `/brokerage/level/list`, params })
}

// 列表（精简）
export const getSimpleList = async (params: any) => {
  return await request.get({ url: `/brokerage/level/list-simple`, params })
}

// 详情
export const getDetail = async (id: number | string) => {
  return await request.get({ url: `/brokerage/level/get?id=` + id })
}

// 修改
export const update = async (data: any) => {
  return await request.post({ url: `/brokerage/level/update`, data })
}
